package com.anycl.design.j2ee.transferobject;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Client {
    public static void main(String[] args) {
        BusinessObject businessObject = new BusinessObject();
        TransferObject object = businessObject.getDataById(0);
        log.info(object.toString());
        object.setName("Java In action");
        businessObject.update(object);

        object = businessObject.getDataById(0);
        log.info(object.toString());
    }
}
